<html>
  <head>
	<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script src="scripts/rnd.js">
</script>
<script>

function createRandom() {
	var passw = parseInt(document.getElementById("pw").value);
	var seed = document.getElementById("seed").value;

	var num = parseInt(Math.seed(parseInt(seed)+passw)*10000000000);
	
    var r = document.getElementById("result");
	r.value = seed+ num;
}
</script>
  </head>
  <body>
	<h1>假的随机数生成器</h1>
	<br/>
	假的密码:<input type="text" id="pw" value=""/>
	<br/>
	特殊值:<input type="text" id="seed" value=""/>
	<br/> 
	
	  
	<button onclick="createRandom()">Create</button>
	<br/>
	结果:<input id="result"/>
  </body>
</html>
